class Student(object):
    def __init__(self, name, score):
        self.name = name
        self.score = score

    def get_grade(self):
        if self.score >= 90:
            return 'A'
        elif self.score >= 60:
            return 'B'
        else:
            return 'C'


# kimi = Student()
# print(kimi.__class__)
# kimi.name = 'kimi'
# print(kimi.name)
# kimi.age = 18
# print(kimi.age)

bart = Student('Bart Simpson', 59)
print(bart.name)
print(bart.score)

lisa = Student('Lisa', 99)
bart = Student('Bart', 59)
print(lisa.name, lisa.get_grade())
print(bart.name, bart.get_grade())
